/*
 * Copyright (c) 2006, 2021, webrx.cn All rights reserved.
 *
 */
package cn.webrx.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * <p>Project: mybatis2021 - Teacher
 * <p>Powered by webrx On 2021-10-25 20:41:04
 * <p>Created by IntelliJ IDEA
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "wx_teacher")
public class Teacher {
    @Id
    @GeneratedValue(generator = "JDBC")
    private Integer id;
    private String name;

    public Teacher(String name) {
        this.name = name;
    }
}
